/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package EntityState;

import java.io.Serializable;
import java.util.List;

/**
 *
 * @author James
 */
public class TCubeRolesState implements Serializable {
    private int     id;
    private String  name;
    private String  description;
    private List<TCubePrivilegeState> listOfPrivileges;
    
    public TCubeRolesState(int id, String name, String description, List<TCubePrivilegeState> listOfPrivileges) {
        this.id               = id;
        this.name             = name;
        this.description      = description;
        this.listOfPrivileges = listOfPrivileges; 
    }
    
    //Getters and Setters
    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public List<TCubePrivilegeState> getListOfPrivileges() {
        return listOfPrivileges;
    }

    public void setListOfPrivileges(List<TCubePrivilegeState> listOfPrivileges) {
        this.listOfPrivileges = listOfPrivileges;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
